package com.trust.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author ccc
 * @since 2023-11-15 14:35:28
 */
@Data
@TableName("farm_plant")
public class FarmPlant {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("作物当前进度")
    private BigDecimal cropProgress;

    @ApiModelProperty("作物生长周期")
    private BigDecimal growthCycle;

    @ApiModelProperty("种植面积")
    private BigDecimal plantArea;

    @ApiModelProperty("种植地块")
    private String plantLand;

    @ApiModelProperty("种植批号")
    private String code;

    @ApiModelProperty("种植标识")
    private String plantSign;

    @ApiModelProperty("播种移栽结束时间")
    private Date plantEndTime;

    @ApiModelProperty("种植开始时间")
    private Date plantStart;

    @ApiModelProperty("种植品类")
    private Integer categoryId;

    @ApiModelProperty("种苗数量")
    private Integer seedNum;

    @ApiModelProperty("种苗批号")
    private Integer breedCode;

    @ApiModelProperty("前茬作物")
    private String stubbleCrop;

    @ApiModelProperty("状态 1进行中，2已结束")
    private Integer state;
}